<template>
  <div>
    <el-alert :title="title" type="info" show-icon :closable="false">
    </el-alert>
  </div>
</template>

<script>
export default {
  name: 'DataDisplay',
  props: {
    total: {
      type: Number
    }
  },
  computed: {
    title (val) {
      return `数据一共 ${this.total} 条`
    }
  }
}
</script>

<style></style>
